//homepage.js
const app = getApp();

Page({
  data: {
   
  },
  onLoad: function () {
  
  },
  onReachBottom:function () {
    let that = this;
    
  },
  tabBusiness: function () {
    wx.navigateTo({
      url: '/pages/shoplist/shoplist'
    })
  },
  // shopScan: function () {
  //   wx.scanCode({
  //     scanType:['barCode', 'qrCode','datamatrix','pdf417'],
  //     success (res) {
  //         console.log(res)
  //      }
  //  })
  // },
  specialShopGoods: function () {
    wx.navigateTo({
      url: '/pages/allgoods/allgoods?names=特价商品'
    })
  },
  allShopGoods: function () {
     wx.navigateTo({
       url: '/pages/allgoods/allgoods'
     })
  },
  shopCoupon: function () {
     wx.navigateTo({
       url: '/pages/shopcoupon/shopcoupon'
     })
  },
  goodsDetails: function () {
     wx.navigateTo({
       url: '/pages/goodsdetails/goodsdetails'
     })
  }
})
